<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>MaterialBlendingMode</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">MaterialBlendingMode()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#006666"><b>MaterialBlendingMode</b></font>(#Material, Mode)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



Changes the way the material will be blended with the scene (screen background). 

 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Material</i></td>
<td width="90%"> 
 
The material to use. 

 

</td></tr>
<tr><td><i>Mode</i></td>
<td> 
 
It can be one of the following value: 
 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Material_Add</font>       : Performs a pixel 'Add' operation over the scene (black color is like transparent).
  <font color="#924B72">#PB_Material_AlphaBlend</font>: Uses the AlphaChannel layer of the texture (should be a TGA or PNG one) to blend it with the scene.
  <font color="#924B72">#PB_Material_Color</font>     : Uses the texture transparent color value when blending the material with the scene.
</font></pre>

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

None.





</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center>&lt;- <a href=ismaterial.html>IsMaterial()</a> - <a href=index.html>Material Index</a> - <a href=materialcullingmode.html>MaterialCullingMode()</a> -&gt;



</body></html>